package com.siwei.mes.entity.experiment;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;


/**
 * 试验台账与供货任务关系(ExperimentSupplyTask)实体类
 *
 * @author makejava
 * @since 2024-05-28 23:00:03
 */
@Data
@Accessors(chain = true)
@Table(name = "pk_experiment_supply_task")
@ApiModel(value = "ExperimentSupplyTask", description = "试验台账与供货任务关系")
public class ExperimentSupplyTask implements Serializable {
    private static final long serialVersionUID = -34368752985403122L;
    /**
     * 主键id
     */
    @Id
    @ApiModelProperty(value = "试验台账与供货任务关系主键ID", name = "id")
    private Long id;
    /**
     * 试验台账id
     */
    @Column(name = "experiment_id")
    @ApiModelProperty(value = "试验台账id", name = "experimentId")
    private Long experimentId;
    /**
     * 供货任务单id
     */
    @Column(name = "supply_task_id")
    @ApiModelProperty(value = "供货任务单id", name = "supplyTaskId")
    private Long supplyTaskId;

    @Column(name = "create_time")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @Column(name = "read_time")
    @ApiModelProperty(value = "已读时间", name = "readTime")
    private Date readTime;
}
